package io.gitee.geminidev.bot.api;

import io.gitee.geminidev.bot.BotContext;

/**
 * @Author gemini
 * @Date 2023/4/5 13:23
 * @description:
 */
public enum MessageHttpApiFactory {
    INSTANCE;

    private MessageHttpApi api;

    MessageHttpApiFactory(){
        api = new MessageHttpApi();
    }

    public MessageApi createApi(BotContext context){
        api.setContext(context);
        return api;
    }
    public MessageApi getInstance(){
        return api;
    }


}
